package edu.um.analyzer.exception;

import edu.um.token.Token;

public class DuplicatedDeclarationException extends Exception {
  public DuplicatedDeclarationException(Token token) {
    super(String.format("The variable %s is already declared at %d : %d",
        token.getValue(), token.getLine(), token.getColumn()));
  }

}
